package ai.mspbots.service.users.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.Map;

@FeignClient(name = "ms-service-report")
public interface ReportFeignClient {

    @GetMapping("/report/{id}")
    public Map<String, Object> getReport(@PathVariable(value = "id") Long id);
}
